<div class="bs-callout bs-callout-info">
    <h4>Edit role</h4>
    <p><a href="<?php echo base_url()?>admin/role">+ Back</a></p>
</div>

<form class="form-horizontal" role="form" method="POST">
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">Role name</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="inputEmail3" placeholder="Role name" name="rolename" value="<?php echo $data['rolename'];?>" />
        </div>
    </div>
    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">Save</button>
        </div>
    </div>
</form>